package com.encyclopedia.service;

import com.encyclopedia.domain.PlantCrop;
import com.encyclopedia.result.JsonRequest;

/**
 * @author MaLiang
 * @version 1.0
 * @date 2024-05-05 5:59
 */
public interface PlantCropService {
    JsonRequest getCropInfo(PlantCrop plantCrop);

    int insertCrop(PlantCrop plantCrop);

    int deleteCrop(Long id);

    int updateCrop(PlantCrop plantCrop);

    JsonRequest getInfoId(Long id);
}
